<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable = 0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>慢慢买首页</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/index.css">
  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/rem.js"></script>
  <script src="./js/index.js"></script>
</head>

<body>
  <!-- 头部区域 -->
  <!-- @@include ./template/header.html -->
  <!-- 搜索区域 -->
  <!-- @@include ./template/search.html -->
  <!-- 导航部分 -->
  <div class="mmm_nav">
    <div class="nav-con clearfix">
      <div class="nav-items">
        <img src="./images/ic_search.png" alt="">
        <p>比价搜索</p>
      </div>
    </div>
  </div>
  <!-- 内容部分 -->
  <div class="mmm_inner">
    <div class="inner-tit">
      <span class="fl">超值折扣推荐</span>
      <img class="fr" src="./images/more.png" alt="">
    </div>
    <div class="inner-tmp">

    </div>
    <a class="more" href="./moneyctrl.html">更多优惠信息 »</a>
    <div class="inner-tit">
      <span class="fl">品牌排行</span>
      <img class="fr" src="./images/more.png" alt="">
    </div>
  </div>
  <!-- 底部 -->
  <!-- @@include ./template/footer.html -->

  <script type="text/html" id="tmp">
    {{ each result v i }}
    <div class="nav-items {{ i > 7 ? 'active' : '' }}" data-id = "{{ v.indexmenuId }}">
      <a href="{{ v.titlehref }}.html">
        <img src="./images/{{ v.img }}" alt="">
        <p>{{ v.name }}</p>
      </a>
    </div>
    {{ /each }}
  </script>

  <script type="text/html" id="tmp2">
    {{ each result v i }}
    <div class="inner-items clearfix">
      <img src="{{ v.productImgLg.src }}" alt="{{ v.productImgSm.alt }}">
      <div class="item-text">
        <div class="main-info">{{ v.productName }} <span class="pinkage">{{ v.productPinkage }}</span> </div>
        <div class="bot-info">
          <div class="fl"><span>{{ v.productFrom }}</span> | <span>{{ v.productTime }}</span></div>
          <div class="fr"><span>{{ v.productComCount }}</span></div>
        </div>
      </div>
    </div>
    {{ /each }}
  </script>
</body>

</html>